import { http } from '@/utils/http'

/**
 * 获取作业完成 - echarts
 * @param
 * @returns
 */
export function getCourseDataApi(params: any) {
  return http.get<any>(`/edu/app/teacher/getLeanProgress/${params}`)
}

/**
 * 获取作业完成 - echarts
 * @param
 * @returns
 */
export function getEchartsDataApi(params: any) {
  return http.get<any>(`/edu/app/teacher/stat/finish`, params)
}

/**
 * 获取作业完成 - echarts
 * @param
 * @returns
 */
export function getDetailsApi(params: any) {
  return http.get<any>(`/edu/app/teacher/task/stat`, params)
}
